package com.gw.smscheck.entity.business.alarm;
import java.io.Serializable;
import com.gw.smscheck.entity.sys.BasePager;
/**
* tb_alarm_info 实体类
* @author wjy 
* @date 2018-11-07 10:48:55
*/ 
public class AlarmInfo extends BasePager implements Serializable{
	private static final long serialVersionUID = -1L;
	/**
	 * 告警类型
	 */
	private Integer alarmType ;
	/**
	 * 创建时间
	 */
	private String createTime ;
	/**
	 * 
	 */
	private String createUser ;
	/**
	 * 重点人id
	 */
	private Integer focusId ;
	/**
	 * 重点人手机号
	 */
	private String focusPh ;
	/**
	 * 
	 */
	private Integer id ;
	/**
	 * 值ids
	 */
	private String ids ;
	/**
	 * 更新时间
	 */
	private String updateTime ;
	/**
	 * 
	 */
	private String updateUser ;
	/**
	 * 值
	 */
	private String value ;
	/**
	 * 状态
	 */
	private Integer state;

	private String focusCode; // 重点人code

	public String getFocusCode() {
		return focusCode;
	}

	public void setFocusCode(String focusCode) {
		this.focusCode = focusCode;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public void setAlarmType(Integer alarmType){
		this.alarmType=alarmType;
	}
	public Integer getAlarmType(){
		return alarmType;
	}

	public void setCreateTime(String createTime){
		this.createTime=createTime;
	}
	public String getCreateTime(){
		return createTime;
	}

	public void setCreateUser(String createUser){
		this.createUser=createUser;
	}
	public String getCreateUser(){
		return createUser;
	}

	public void setFocusId(Integer focusId){
		this.focusId=focusId;
	}
	public Integer getFocusId(){
		return focusId;
	}

	public void setFocusPh(String focusPh){
		this.focusPh=focusPh;
	}
	public String getFocusPh(){
		return focusPh;
	}

	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}

	public void setIds(String ids){
		this.ids=ids;
	}
	public String getIds(){
		return ids;
	}

	public void setUpdateTime(String updateTime){
		this.updateTime=updateTime;
	}
	public String getUpdateTime(){
		return updateTime;
	}

	public void setUpdateUser(String updateUser){
		this.updateUser=updateUser;
	}
	public String getUpdateUser(){
		return updateUser;
	}

	public void setValue(String value){
		this.value=value;
	}
	public String getValue(){
		return value;
	}

	// 重写Object对象的equals方法
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		} else {
			if (obj == null) {
				return false;
			}
			final AlarmInfo alarmInfo = (AlarmInfo) obj;
			if (this.getId().equals( alarmInfo.getId() )) {
				return true;
			} else {
				return false;
			}
		}
	}
}

